import java.io.File;



public class AccesPlugin {
	
	
	/**Racine du repertoire contenant les plugins*/
	private File cheminPuglin = new File("path du répertoire");
	
	/** liste des plugins contenus dans le repertoire*/
	private File[]	mesPlugins;

	
	/**
	 * @return the cheminPuglin
	 */
	public File getCheminPuglin() {
		return cheminPuglin;
	}

	/**
	 * @param cheminPuglin the cheminPuglin to set
	 */
	public void setCheminPuglin(File cheminPuglin) {
		this.cheminPuglin = cheminPuglin;
	}

	
	
	/**
	 * @return the mesPlugins
	 */
	public File[] getMesPlugins() {
		return mesPlugins;
	}

	/**
	 * @param mesPlugins the mesPlugins to set
	 */
	public void setMesPlugins(File[] mesPlugins) {
		this.mesPlugins = mesPlugins;
	}

	public File[] ChargermesPlugins(File chemin){
		
		File[] mesPlugins = chemin.listFiles();
		
		return mesPlugins;
		
	}
	
	

}
